home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / dev / misc / vahunz.lha / vahunz / source / ugly / expstr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-19  |  2.5 KB  |  85 lines

  1. /*
  2.  * This source file is part of Vahunz,
  3.  * a tool to make source code un-/more legible.
  4.  *
  5.  *--------------------------------------------------------------------------
  6.  *
  7.  * Vahunz and the Ugly library are Copyright (C) 1998 by
  8.  * Thomas Aglassinger <agi@giga.or.at>
  9.  *
  10.  * All rights reserved.
  11.  *
  12.  * Refer to the manual for more information.
  13.  *
  14.  *--------------------------------------------------------------------------
  15.  *
  16.  * Ubiqx library is Copyright (C) 1991-1998 by
  17.  * Christopher R. Hertel <crh@ubiqx.mn.org>
  18.  *
  19.  * Ubiqx library is free software; you can redistribute it and/or
  20.  * modify it under the terms of the GNU Library General Public
  21.  * License as published by the Free Software Foundation; either
  22.  * version 2 of the License, or (at your option) any later version.
  23.  *
  24.  */
  25. #ifndef n1P
  26. #define n1P
  27. #include <stddef.h>
  28. #include "utypes.h"
  29. #define g4Y 96
  30. #define r7J 8 
  31. #ifndef h5Z
  32. #define h5Z(x,by) ((by)*(((x)+(by))/(by)))
  33. #endif
  34. #define w2W(es) ((es)->v7H)
  35. #define v1N(es) ((es)->g8G - 1)
  36. typedef struct
  37. {
  38. STRPTR v7H; 
  39. size_t g8G; 
  40. size_t w6Y; 
  41. size_t z3Lu; 
  42. }
  43. x7H;
  44. #ifndef w4Q
  45. extern x7H *y8Y(size_t q4K, STRPTR j5R, ULONG q6U);
  46. extern x7H *t9N(size_t q4K);
  47. extern void p1X(x7H * es);
  48. extern BOOL x5H(x7H * es);
  49. extern BOOL b3J(x7H * es, STRPTR j5R, ULONG q6U);
  50. extern BOOL f9H(x7H * es, d9P s, size_t n);
  51. extern BOOL x7B(x7H * es, d9P s);
  52. extern BOOL r5R(x7H * es, int ch);
  53. extern BOOL k0E(x7H * es, d9P s);
  54. extern BOOL r5V(x7H * es, d9P s, STRPTR j5R, ULONG q6U);
  55. extern BOOL a4A(x7H * es, int ch, STRPTR j5R, ULONG q6U);
  56. extern BOOL o0Mx(x7H * es, d9P s, STRPTR j5R, ULONG q6U);
  57. extern STRPTR c2C(x7H * es);
  58. extern size_t z7Pg(x7H * es);
  59. extern BOOL f5J(x7H * dest, x7H * src);
  60. extern BOOL e0C(x7H * dest, x7H * src);
  61. extern BOOL k0O(x7H * dest, x7H * src, size_t v5N, size_t num);
  62. extern BOOL h5B(x7H * dest, x7H * src, size_t num);
  63. extern BOOL z9F(x7H * dest, x7H * src, size_t num);
  64. #endif 
  65. #if e0U
  66. #define s0Y( es, u0Qh ) k2Od( es, u0Qh, __FILE__, __LINE__ )
  67. #define d1V( es, s ) r5V( es, s, __FILE__, __LINE__ )
  68. #define v9N( es, ch ) a4A( es, ch, __FILE__, __LINE__ )
  69. #define o0S( es, s ) o0Mx( es, s, __FILE__, __LINE__ )
  70. #define s6Q( s ) y8Y( s, __FILE__, __LINE__ )
  71. #define n7V( s ) b3J( s, __FILE__, __LINE__ )
  72. #define n5H( s ) c2C( s )
  73. #define u0S( s ) z7Pg( s )
  74. #else
  75. #define s0Y( es, u0Qh ) q4Y( es, u0Qh )
  76. #define d1V( es, s ) x7B( es, s )
  77. #define v9N( es, ch ) r5R( es, ch )
  78. #define o0S( es, s ) k0E( es, s )
  79. #define s6Q( s ) t9N( s )
  80. #define n7V( s ) x5H( s )
  81. #define n5H( s ) w2W( s )
  82. #define u0S( s ) v1N( s )
  83. #endif
  84. #endif 
  85.